<?php

namespace app\index\validate;

use think\Validate;

class AssessmentValidate extends Validate
{
    protected $rule =   [
        'level'  => 'require',
        'describe'   => 'require',
        'files'=>'require',
        'activite_user_id'=>'require'
    ];

    protected $message  =   [
        'level.require' => '评定等级不不能为空',
        'describe.require'     => '描述不能为空',
        'files.require' => '科研成果不能为空',
        'activite_user_id.require'     => '评审人不能为空'
    ];
}
